/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Adapter;

/**
 *
 * @author MBG
 */
public class Evento {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        Perros perro = new Rottweiler();
        perro.comer();
        perro.evacuar();
        perro.dormir();
        
        perro = new Quiltro();
        perro.comer();
        perro.evacuar();
        perro.dormir();
        
        perro = new PerroRobotAdapter();
        perro.comer();
        perro.evacuar();
        perro.dormir();
    }
}
